package com.example.fengyungo_user.domain;

import androidx.annotation.NonNull;

import java.io.Serializable;

/**
 * @author XLR
 */
public class DriverWithNumber implements Serializable {
    /**
     * 司机id
     */
    String id;
    /**
     * 用户名
     */
    String username;
    /**
     * 性别
     */
    String sex;
    /**
     * 电话号码
     */
    String phone;
    /**
     * 密码
     */
    String password;
    /**
     * 身份证号
     */
    String idCard;
    /**
     * 头像
     */
    String avatar;
    /**
     * 状态（不可用0，可用1)
     */
    Integer status;
    /**
     * 账号创建时间
     */
    String createTime;
    /**
     * 司机昵称
     */
    String nickname;
    /**
     * 邮箱
     */
    String mail;
    /**
     * 评分
     */
    Float credit;
    /**
     * 订单编号
     */
    String number;
    /**
     * 起点
     */
    String begin;
    /**
     * 终点
     */
    String end;

    public String getBegin() {
        return begin;
    }

    public void setBegin(String begin) {
        this.begin = begin;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Float getCredit() {
        return credit;
    }

    public void setCredit(Float credit) {
        this.credit = credit;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @NonNull
    @Override
    public String toString() {
        return "DriverWithNumber{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", idCard='" + idCard + '\'' +
                ", avatar='" + avatar + '\'' +
                ", status=" + status +
                ", createTime='" + createTime + '\'' +
                ", nickname='" + nickname + '\'' +
                ", mail='" + mail + '\'' +
                ", credit=" + credit +
                ", number='" + number + '\'' +
                '}';
    }
}
